package edu.bu.manateem.msg.model;

import org.systemsbiology.jrap.Scan;

/**
 * This allows the storage m/z -> intensity
 * values for every Scan.
 * @author gindiny
 *
 */
public class MassScan 
{
	final private Scan scan;
	final private float[][] scanValues;
	
	public MassScan(Scan scan) 
	{
		this.scan = scan;
		scanValues = scan.getMassIntensityList(); // very expensive call
	}

	/**
	 * @return the scan
	 */
	public Scan getScan() {
		return scan;
	}

	/**
	 * @return the scanValues
	 */
	public float[][] getScanValues() {
		return scanValues;
	}
}
